﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace JYStockAnalyser.WinUI
{
    public partial class FrmShowUserInfo : Form
    {
        public FrmShowUserInfo()
        {
            InitializeComponent();
        }

        private void FrmShowUserInfo_Load(object sender, EventArgs e)
        {
            this.lblUsername.Text = CurrentInfo.User.UserName;
            this.lblName.Text = CurrentInfo.User.Name;
            this.lblSex.Text = CurrentInfo.User.Sex;
            this.lblContract.Text = CurrentInfo.User.ContractNO;
            this.lblEmail.Text = CurrentInfo.User.Email;
            this.lblwork.Text = CurrentInfo.User.Work;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
